package com.xlh.virtualization.domain;

import com.xlh.virtualization.constant.ContainerRoleEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author cheer
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ExperimentContainer {

    /**
     * 容器Id
     */
    private Long containerId;

    /**
     * 对应dokkaId
     */
    private Long dokkaId;

    /**
     * 镜像Id
     */
    private Long imageId;

    /**
     * 镜像名称
     */
    private String imageName;

    /**
     * 容器Ip
     */
    private String ip;

    /**
     * 容器CPU限制
     */
    private Integer cpu;

    /**
     * 容器内存限制
     */
    private Integer ram;

    /**
     * 容器主机名称
     */
    private String hostname;

    /**
     * 容器角色
     */
    private ContainerRoleEnum containerRole;

    /**
     * 从节点序号
     */
    private Integer roleNumber;

    /**
     * 容器桌面地址
     */
    private String desktopUrl;

    /**
     * 桌面是否为全屏
     */
    private Boolean fullScreen;

}
